home *** CD-ROM | disk | FTP | other *** search
/ Mac Format 1994 August / August CD.bin / Shareware / Programming / Infinity Windoid WDEF 2.6 / InfinityWindoid.h < prev    next >
Text File  |  1994-02-16  |  1KB  |  39 lines

  1. // *****************************************************************************
  2. //
  3. //    FILE:
  4. //        InfinityWindoid.h
  5. //
  6. //    DESCRIPTION:
  7. //        This file contains headers that can be used by an application using
  8. //        the Infinity Windoid WDEF.
  9. //
  10. //        In order to create a window using the Infinity Windoid WDEF, the
  11. //        following constants are useful:
  12. //            kInfinityWindoidProc
  13. //            kVerticalTitlebarProc
  14. //            zoomDocProc                (defined in Windows.h)
  15. //
  16. //        For instance, if you want a new windoid with the titlebar down the
  17. //        left side of the window and no zoom box:
  18. //
  19. //          theWindow = NewWindow(&storage, bounds, title, visible, 
  20. //                                kInfinityWindoidProc + kVerticalTitlebarProc, 
  21. //                                behind, goAwayFlag, refCon);
  22. //
  23. //        The goAwayFlag will determine if the windoid has a close box.
  24. //        If a zoom box is desired, just add zoomDocProc to theProc.
  25. //
  26. // *****************************************************************************
  27.  
  28. #define kInfinityWindoidID        128
  29.     //    If you change the ID of the WDEF that is created, put that ID here.
  30.     
  31. #define kInfinityWindoidProc    (kInfinityWindoidID * 16)
  32.     //    This is the base number to use for the procID of a window that uses
  33.     //    the Infinity Windoid WDEF.
  34.  
  35. #define kVerticalTitlebarProc    2
  36.     //    To have the titlebar be down the side of the window, add this constant.
  37.  
  38. // *****************************************************************************
  39.